package net.zoneland.zrdp.biz.domain.pojo.form;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Map;

/**
 * 流程启动参数对象.
 *
 * @version v1.0
 */

@Data
@Accessors(chain = true)
public class StartProcessForm implements Serializable {

    private static final long serialVersionUID = 5674786169569874602L;

    // 不能为空提示.
    private static final String NOT_BLANK_MESSAGE = "：不能为空";

    /** 业务流程编码. **/
    private String businessProcess;

    /** 工单号. **/
    @NotBlank(message = "工单号" + NOT_BLANK_MESSAGE)
    private String applyId;

    /** 工单标题. **/
    private String applyTitle;

    /** 是否直接提交. **/
    private Boolean submit = Boolean.FALSE;

    /** 当前环节扩展参数. **/
    private Map<String, String> extendData;

    /** 下一环节扩展参数. **/
    private Map<String, String> nextTaskExtData;
}
